package com.qfjy.homework.wangzhi;

/**
 * @author wz
 * @date 2022-03-21 05:33
 * @Description:
 */

public abstract class VehicleDecorator implements Vehicle {
    public Vehicle decoratedVehicle;

    public VehicleDecorator(Vehicle decoratedVehicle){
        this.decoratedVehicle=decoratedVehicle;
    }
    public void type(){
        decoratedVehicle.type();
    }
}
